package com.xiao.service;

import com.xiao.bean.Student;
import com.xiao.common.BaseService;

public class StudentService extends BaseService<Student> {

    public static void main(String[] args) {
        StudentService service = new StudentService();

        Student student = new Student();

        service.insert(new Student());

        student.setId(System.currentTimeMillis() + "");
        service.update(student);
    }
}
